package com.gfeeling.base;

/**
 * 
 *@author lsl 
 *@date 2016年7月5日
 *@comment 
 *@version 1.0
 */
public class DynamicDataSourceHolder {

	public static final ThreadLocal<String> holder = new ThreadLocal<String>();

	public static void putDataSource(String name) {
		holder.set(name);
	}

	public static String getDataSouce() {
		return holder.get();
	}
}
